<template>
  <div class="newList">
      <NewListTop/>
      <NewListMain/>
      <NewListBot/>
  </div>
</template>

<script>
import NewListTop from "@/components/newListTop.vue"
import NewListMain from "@/components/newListMain.vue"
import NewListBot from "@/components/newListBot.vue"
export default {
    components:{
        NewListTop,
        NewListMain,
        NewListBot
    },
    data(){
        return {
            dataa:[]
        }
    },
    mounted(){
        let newArr = this.$store.state.arr2.new;
        newArr.filter((v)=>{
            if(v.id == this.$route.query.idd){
                this.dataa = v;
            }
        })
        this.$store.commit("xlist",this.dataa);
    }
}
</script>

<style scoped>

</style>